print "<table class='maintable'><tr class='headline'><td><center>Your PMs</center></td></tr>";
print "<tr class='mainrow'><td>";
$getnewpms="SELECT COUNT(*) from b_pms where receiver='$userstats3[ID]' and hasread='0'";
$getnewpms2=mysql_query($getnewpms) or die("Could not get new PMs");    
$getnewpms3=mysql_result($getnewpms2,0);
print "You have <A href='pm.php'>$getnewpms3 new PMs</a> in your pm box.";
print "</td></tr></table><br><br>";